package com.sxh.user.exception;


public class PermissionException extends BaseException {
    public PermissionException(String message) {
        super(message);
        // 控制台打印异常信息
        System.err.println("权限异常: " + message);
    }

    public static void cast(String message) {
        throw new PermissionException(message);
    }
}

